package utils;

import java.lang.annotation.Annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import net.sf.oval.configuration.annotation.AnnotationCheck;
import net.sf.oval.configuration.annotation.Constraint;

/**
 * Cutom annotaion to check if the date is >= current date
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.FIELD, ElementType.PARAMETER })
@Constraint(checkWith =CustomInFutureCheck.class)
public @interface CustomInFuture {

	String message() default CustomInFutureCheck.mes;

	String value() default "";
}
